package com.demo.designmode.adapter.classadapter;

/**
 * @Author: jxm
 * @Description: SD卡实现类
 * @Date: 2023-12-13 9:40
 * @Version: 1.0
 */
public class SDCardImpl implements SDCard{

    @Override
    public String readSD() {
        String msg = "sd card read a msg :hello word SD";
        return msg;
    }

    @Override
    public void writeSD(String msg) {
        System.out.println("sd card write msg : " + msg);
    }
}
